package com.czf.table.config;

import java.util.Map;

public class DynamicTableNameProvider {
    public String selectById(Map<String, Object> params) {
        String tableName = (String) params.get("tableName"); // 从参数中获取动态表名
        return "SELECT * FROM " + tableName + " WHERE id = #{id}";
    }

}
